package com.woniuxy.coursemodel.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("分页查看团课课程参数列表")
public class TeamCoursePageForm {
    @NotNull
    @Min(1)
    @ApiModelProperty("当前页码")
    private Integer pageNum;
    @NotNull
    @Min(1)
    @ApiModelProperty("每页条数")
    private Integer pageSize;
    @NotNull
    @Min(1)
    @ApiModelProperty("团课产品id")
    private Integer teamProductId;

}
